package com.test;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Hello world!
 *
 */
public class App 
{
	public static Integer cc;

	@SuppressWarnings("deprecation")
	public static void main( String[] args ) throws Exception
    {
		
		Pattern pattern = Pattern.compile("^1[3,4,5,6,7,8,9]\\d{9}$");
		Matcher matcher = pattern.matcher("1887185779");
		System.out.println(matcher.matches());

    }
	
    

}
